import java.util.Scanner;

public class year {
    public static void main(String[] args) {
        Scanner reader = new Scanner(System.in);
        System.out.println("请输入年份：");
        int a = reader.nextInt();
        if (a%4==0){
            System.out.printf("%d年是闰年",a);
        }else {
            System.out.printf("%d年不是闰年",a);
        }

    }
}
